﻿<Window x:Class="SQLBackup.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="SQLBackup-SQL Server Auto Backup(beta)" Height="640" Width="662.759" Background="#FFE0ECEC">

    <Grid Margin="0,0,2,30">
        <TextBox HorizontalAlignment="Left" Height="36" Name="txtBackUpPath" Margin="159,217,0,0" TextWrapping="Wrap" Text="" VerticalAlignment="Top" Width="446" FontSize="16" BorderThickness="2" Background="White" TextChanged="txtBackUpPath_TextChanged"/>
        <Button Content="Save Settings" HorizontalAlignment="Left" Margin="79,388,0,0" VerticalAlignment="Top" Width="140" Height="42" Click="btnGenrateConfig_Click"/>
        <Label Content="Backup Path" HorizontalAlignment="Left" Margin="41,220,0,0" VerticalAlignment="Top"/>
        <Label Content="ActivityLog" HorizontalAlignment="Left" Margin="41,262,0,0" VerticalAlignment="Top"/>
        <Label Content="" Name="lblActivity" HorizontalAlignment="Left" Margin="160,263,0,0" VerticalAlignment="Top"/>
        <ComboBox Height="36" HorizontalAlignment="Left" Margin="159,108,0,0" Name="cmbDBName"  VerticalAlignment="Top" Width="446" FontSize="16" Padding="6px" />
        <ComboBox Height="36" HorizontalAlignment="Left" Margin="159,163,0,0" Name="cmbBackupType"  VerticalAlignment="Top" Width="446" FontSize="16" Padding="6px"/>
        <Label Content="DataBase Name" HorizontalAlignment="Left" Margin="41,110,0,0" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.5"/>
        <Label Content="Backup type" HorizontalAlignment="Left" Margin="41,160,0,0" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.5"/>
        <Label Content="" Name="lblMessage" FontSize="14"  HorizontalAlignment="Left" Margin="206,35,0,0" VerticalAlignment="Top" RenderTransformOrigin="0.377,-0.385" FontWeight="Bold"/>
        <TextBox HorizontalAlignment="Left" Height="36" x:Name="txtConfigFileName" Margin="159,300,0,0" TextWrapping="Wrap" Text="" VerticalAlignment="Top" Width="446" FontSize="16"  Padding="2px" BorderThickness="2"/>
        <Label Content="Setting File Name" HorizontalAlignment="Left" Margin="41,300,0,0" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.5"/>
        <Button Content="Edit Settings" HorizontalAlignment="Left" Margin="43,26,0,0" VerticalAlignment="Top" Width="140" Height="42" Click="btnUpload_click" />
        <Button Content="Copy to CLipboard" HorizontalAlignment="Left" Margin="432,388,0,0" VerticalAlignment="Top" Width="140" Height="42" Click="btnCopyToClipboard_Click"/>
        <Button Content="Generate Argument" HorizontalAlignment="Left" Margin="258,388,0,0" VerticalAlignment="Top" Width="140" Height="42" Click="btnGeneratArgument_Click"/>
        <TextBox HorizontalAlignment="Left" Height="92" x:Name="txtCopyToClip" Margin="41,474,0,0" TextWrapping="Wrap" Text="" VerticalAlignment="Top" Width="564" FontSize="16" BorderThickness="2"/>
        <Button Content="Show sample" HorizontalAlignment="Left" Margin="203,30,0,0" VerticalAlignment="Top" Width="140" Height="42" Visibility="Hidden" Click="btnShowSample_click" />
        <Label Content="" Name="lblServer" HorizontalAlignment="Left" Margin="368,45,0,0" VerticalAlignment="Top"/>
    </Grid>

</Window>
